package dao;

import java.util.List;
import javax.persistence.PersistenceException;

public interface Dao<T> {

    public T inserir(T obj);

    public T pesquisar(Long obj) throws PersistenceException;

    public void excluir(T obj);
    
    public List<T> getAll();

}
